<?xml version="1.0" encoding="utf-8"?>
<UserControl
	x:Class="ICSharpCode.WpfDesign.AddIn.WpfDocumentError" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Background="#888">
	<Border
		Background="#DDD"
		BorderBrush="#999"
		BorderThickness="2"
		Width="500"
		VerticalAlignment="Center"
		MaxHeight="380">
		<Border.Effect>
			<DropShadowEffect
				BlurRadius="15"
				Color="#777"
				ShadowDepth="2" />
		</Border.Effect>
		<StackPanel
			Orientation="Vertical">
			<StackPanel
				Orientation="Horizontal"
				Height="50"
				HorizontalAlignment="Left">
				<Image
					Margin="10,10,0,5"
					Name="ErrorIcon"
					Width="32"
					Height="32"
					Source="../Images/Icons.32x32.Error.png"
					HorizontalAlignment="Left"
					VerticalAlignment="Top" />
				<TextBlock
					Text="Problem Loading"
					Foreground="#333"
					FontSize="16"
					Margin="10,10,0,5"
					VerticalAlignment="Center"
					HorizontalAlignment="Left" />
			</StackPanel>
			<Line
				Y1="5"
				Y2="5"
				X1="50"
				X2="450"
				Stroke="#444"
				StrokeThickness="0.5" />
			<TextBlock
				TextWrapping="Wrap"
				Text="The document contains errors which should be fixed so that the designer can load. Switch to XAML Tab to fix the errors."
				VerticalAlignment="Top"
				FontSize="14"
				Foreground="#333"
				HorizontalAlignment="Left"
				Margin="50,10,10,10" />
			<TextBlock
				HorizontalAlignment="Left"
				VerticalAlignment="Bottom"
				Margin="50,10,10,10">
				<Hyperlink
					Foreground="Black"
					Click="ViewXaml">View XAML</Hyperlink>
			</TextBlock>
			<GroupBox
				x:Name="additionalInfoBox"
				Header="Additional information"
				Margin="50,10,10,20">
				<TextBox
					Margin="3"
					HorizontalScrollBarVisibility="Auto"
					VerticalScrollBarVisibility="Auto"
					x:Name="additionalInfo"
					IsReadOnly="True"
					MinLines="10" />
			</GroupBox>
		</StackPanel>
	</Border>
</UserControl>